<template>
	<view class="content">
		<sp-board :tools="boardTools" saveAction="toAlbum" @completed="paintingCompleted"></sp-board>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				boardTools:["pen", "eraser", "color", "text", "back", "clear","upload","save"],
			}
		},
		onLoad() {

		},
		methods: {
			paintingCompleted(filePath){
				console.log("filePath="+filePath);
			}
		}
	}
</script>

<style>

</style>
